import request from '/@/utils/request'

export interface GetStocktakingInput {
  startTime?: string
  endTime?: string
  warehouseName?: string
  goodsOrCategory?: string
  page?: number
  pageSize?: number
}

export function fetchStocktakingPage(data: GetStocktakingInput) {
  return request.post('/api/report/stocktaking/page', data)
}

export function fetchStocktakingStats(data: GetStocktakingInput) {
  return request.post('/api/report/stocktaking/stats', data)
}


